<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${wwwroot}/admin/templateshell/lookuplist" data-divid="#lookuplist" method="post" >
        <input type="hidden" name="pageSize" value="">
        <input type="hidden" name="pageCurrent" value="">
        <input type="hidden" name="orderField" value="">
        <input type="hidden" name="orderDirection" value="">
        <div class="bjui-searchBar">
            <label>名称：</label><input type="text" id="name" name="name" value="${(templateShell.name)!}"  class="form-control" size="10">&nbsp;
            <label>命令内容：</label><input type="text" id="content" name="content" value="${(templateShell.content)!}"  class="form-control" size="10">&nbsp;
            <label>类型名称：</label><input type="text" id="typeName" name="typeName" value="${(templateShell.typeName)!}"  class="form-control" size="10">&nbsp;
            <input type="hidden" name="typeId" value="${(templateShell.typeId)!}">
            <button type="submit" class="btn btn-primary" data-icon="search" >查询</button>&nbsp;
        </div>
    </form>
</div>
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="30">No.</th>
            <th data-order-direction="" data-order-field="name">名称</th>
            <#--<th data-order-direction="" data-order-field="content">命令内容</th>-->
            <th data-order-direction="" data-order-field="typeName">类型名称</th>
            <th data-order-direction="" data-order-field="createrName">创建人名</th>
            <th data-order-direction="" data-order-field="createDate">创建时间</th>
            <th width="100">操作</th>
        </tr>
        </thead>
        <tbody>
        <#list pageCtx.rows as row>
        <tr data-id="${(row.id)!}">
            <td>${(row_index+1)!}</td>
            <td title="${(row.name)!}">${(row.name)!}</td>
            <#--<td title="${(row.content)!}">${(row.content)!}</td>-->
            <td title="${(row.typeName)!}">${(row.typeName)!}</td>
            <td title="${(row.createrName)!}">${(row.createrName)!}</td>
            <td title="${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}">${(row.createDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>
            <#--<td>-->
                <#--<a href="javascript:;" data-toggle="lookupback" data-args="{id:'${(row.id)!}', name:'${(row.name)!}'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>-->
            <#--</td>-->
            <td>
                <a href="javascript:bringBack('${(row.id)!}','${(row.name)!}');"   class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
            </td>
        </tr>
        </#list>
        </tbody>
    </table>
<@p.pagination pageCtx=pageCtx pageParam=pageParam/>
